:root {
  --dom-scale: 1;
  // --container-width: 1918px; // 1918px
  // --container-height: 1080px;
  --color-grade1: #CDFFFF;
  --color-grade2: #00CDFF;
  --color-grade3: #00FF00;
  --color-grade4: #FFFF00;
  --color-grade5: #FF9B00;
  --color-grade6: #FF0000;
  --nprogressColor: #FF4500;
}


body {
  margin: 0;
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#chenApp {
  width: var(--container-width);
  height: var(--container-height);

  .not-found {
    width: var(--container-width);
    height: var(--container-height);
    overflow: hidden;
    background: url(../img/404.gif) no-repeat center;
    background-size: 100% 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999
  }

  .ui_left_mask {
    width: 24%;
    height: 100%;
    pointer-events: none;
    background: url(../img/leftBg.png) no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    left: 0;
    padding-top: 65px;
    padding-left: 10px;
    transition: all 0.3s linear;
    z-index: 1;
  }

  .ui_right_mask {
    width: 24%;
    height: 100%;
    pointer-events: none;
    background: url(../img/rightBg.png) no-repeat center;
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    padding-top: 65px;
    padding-right: 10px;
    transition: all 0.3s linear;
    display: flex;
    justify-content: right;
    z-index: 1;
  }

  // ui框显示隐藏
  .hiddenLeft {
    margin-left: -30%;
  }

  .hiddenRight {
    margin-right: -30%;
  }

}

// 暂无数据图标
.noData {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -5%;

  &::before {
    content: '暂无数据';
    position: absolute;
    margin-top: 80px;
    margin-left: 10px;
    color: #b3cfdf;
    font-size: 12px;
  }

  &::after {
    content: ' ';
    width: 60px;
    height: 60px;
    background: url('../../assets/img/noData.png') center no-repeat;
    background-size: 100% 100%;
  }
}

.spin{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


#nprogress {
  .bar {
    background-color: var(--nprogressColor) !important;
    top: unset;
    bottom: 0;
    height: 5px;

    .peg {
      box-shadow: 0 0 5px var(--nprogressColor), 0 0 3px var(--nprogressColor) !important;
      display: none;
    }
  }

  .spinner {
    top: unset;
    bottom: 3%;
    transform: scale(2);

    .spinner-icon {
      border-top-color: var(--nprogressColor) !important;
      border-left-color: var(--nprogressColor) !important;
      border: solid 3px transparent;
    }
  }
}

#actionTabs .tabsMenu .panes .pane {
  color: #2bc9ed !important;
}

#scene-explorer-host,
#inspector-host {
  z-index: 999;
  position: absolute !important;
}

.ant-input::placeholder {
  color: #525151;
}



* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  touch-action: pan-x; // 禁止页面滑动
}

body {
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 5px;
  height: 0px;
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  box-shadow: inset 0 0 0 #a1dddd;
  background-color: #a5dfdf;
}

.animated {
  transition-delay: 1s;
  animation-delay: 1s;
}


a,
span,
img {
  border-style: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
textarea,
input,
select {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-sizing: border-box;
  font-size: 12px;
}